package cn.neusoft.mapper;

import cn.neusoft.po.Pcas;
import cn.neusoft.query.PcasQuery;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface PcasMapper {

    @Insert("insert into t_pcas(code,name,parent,type) values(#{code},#{name},#{parent},#{type})")
    int add(Pcas pcas);

    List<Pcas> getByCondition(PcasQuery query);

}
